Skip to content

security: remove code that runs automatically when the project is opened or built - #119

Merged
Ndevu12 merged 2 commits into
mainfrom
security/auto-clean
Aug 23, 2026
Merged

security: remove code that runs automatically when the project is opened or built#119
Ndevu12 merged 2 commits into
mainfrom
security/auto-clean

Conversation

@Ndevu12

@Ndevu12 Ndevu12 commented Aug 22, 2026

Copy link
Copy Markdown
Owner

⚠ PARTIAL remediation for Ndevu12/RichTextEditor by StayAwakeBot Security Sentinel — this branch applies what is provably safe but is NOT a clean tree (see below).

Changes applied

  • strip-gitignore.gitignore

🚨 Still infected — confirmed indicators NOT auto-fixed (manual action required)

1 confirmed finding(s) could not be safely auto-remediated and remain in this tree. Do NOT merge this as a completed fix — the security gate stays red. Resolve each, then re-run saw fix --pr:

  • 8acf0688f2evil-merge-loader (evil-merge): Worm payload smuggled via this merge COMMIT (a history finding, not a file edit; files: .gitignore, eslint.config.js). ʼsaw fixʼ never rewrites history — it breaks clones/forks/tags. If the payload is gone from your working tree the tree is clean but the commit persists; verify no fork/tag still shi

⚠ Still needs review (not auto-fixed)

These are suspicious (heuristic) matches — possibly a legitimate inlined asset/minified file, possibly a payload the confirmed signatures didn't name. Review each; allowlist if legitimate, or remove if not.

  • evil-merge222e2c763c
  • whitespace-concealmenteslint.config.js:66
  • oversized-config-lineeslint.config.js:66
  • obfuscated-source-fileeslint.config.js

Originals are recoverable from git history. Evil-merge findings (if any) are reported separately and need a manual history rewrite.

Review and merge if correct. This is a single rolling PR — re-runs update it rather than opening duplicates.


Extended beyond the automatic fix. The original change removed what could be stripped safely.
This branch now also handles the files the automatic pass left alone:

  • files inflated with appended code are restored to the content they had before it was added
    the real configuration is kept, not deleted
  • files that never existed before the injection are removed outright

Verified afterwards: no file on this branch still matches any campaign marker.

Worth knowing: merging this cleans this branch only. Other branches in this repository may carry
the same files and should be checked separately.

- strip-gitignore: .gitignore
restored eslint.config.js (restored to its 1893-byte version)

Each restored file keeps the content it had before the payload was appended.
@Ndevu12 Ndevu12 changed the title security: PARTIAL auto-remediation — manual review required security: remove code that runs automatically when the project is opened or built Aug 23, 2026
@Ndevu12
Ndevu12 merged commit 9179f4c into main Aug 23, 2026
8 of 9 checks passed
@Ndevu12
Ndevu12 deleted the security/auto-clean branch August 23, 2026 14:13
@Ndevu12 Ndevu12 self-assigned this Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant